import request from '@/utils/request2'

// 登录
export function login(data) {
  return request({
    url: '/login',
    method: 'post',
    data
  })
}

// 菜单
export function getMenuTree(data) {
  return request({
    url: '/menu',
    method: 'post',
    data
  })
}
